# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=s6-networking-man-pages
pkgver=2.5.1.3.3
pkgrel=3
pkgdesc="Unofficial mdoc versions of the s6-networking documentation"
url="https://github.com/flexibeast/s6-networking-man-pages"
arch="noarch"
license="ISC"
source="$pkgname-$pkgver.tar.gz::https://github.com/flexibeast/s6-networking-man-pages/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # no tests
install_if="${pkgname%-*-*}>=${pkgver%.*} docs"

package() {
	make DESTDIR="$pkgdir" install

	find "$pkgdir" -type f ! -name "*.gz" \
		-exec gzip -9 {} \;
}

sha512sums="
caaff064c285ba80c293fede4f5b45d8f349fc389d5ab30f438552f81b2889b863741e55d7092d33a2b2738f2e4fcec918492dc87446d8de7dbbba6021e4df46  s6-networking-man-pages-2.5.1.3.3.tar.gz
"
